package com.rainng.coursesystem.model.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@TableName("vis_general_report")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class GeneralReportEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("ve_type")
    private String veType;

    @TableField("num_id")
    private String numId;

    @TableField("task_code")
    private String taskCode;

    @TableField("apply_num")
    private String applyNum;

    @TableField("ve_model")
    private String veModel;

    @TableField("task_name")
    private String taskName;

    @TableField("cus_name")
    private String cusName;

    @TableField("creat_time")
//    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @TableField("remark")
    private String remark;

    @TableField("total_result")
    private String totalResult;

    private String taskType;

    private String numIdOld;

}
